package com.zzs.client.pojo.vo.submit;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author zzs
 * @date 2025/04/13
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class CodeSubmitDetailVO {
    @JsonSerialize(using = ToStringSerializer.class)
    private long id;
    private int language;
    private String code;
    private int status;
    private String message;
    private String input;
    private String output;
    private String userOutput;
    @JsonSerialize(using = ToStringSerializer.class)
    private long useTime;
    @JsonSerialize(using = ToStringSerializer.class)
    private long useMemory;
    private LocalDateTime createTime;
}
